package com.firepongo.chaos.web.exception;

import com.firepongo.chaos.model.dto.result.ResultEnum;
import com.firepongo.chaos.model.exception.BusinessException;
import lombok.Data;

import javax.servlet.http.HttpServletRequest;

/**
 * @author G.G
 * @date 2020/5/28 16:27
 */
@Data
public class AuthenticationException extends BusinessException {
    private HttpServletRequest request;

    public AuthenticationException(ResultEnum resultEnum) {
        super(resultEnum);
    }

    public AuthenticationException(Integer code, String msg) {
        super(code,msg);
    }

    public AuthenticationException(Integer code, String msg, HttpServletRequest request) {
        super(code,msg);
        this.request = request;
    }


}
